package com.zero.business.order.service;

import com.zero.common.domain.Page;
import com.zero.domain.Order;

public interface OrderService{


    int deleteByPrimaryKey(Integer orderId);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer orderId);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    void useBicycle(Integer userId, Integer bicycleId);

    Page<Order> getMemberOrder(Integer userId);

    void backBicycle(Integer userId, String orderSn);
}
